.tabbarContainer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 16px 20px 16px;
}

.tabbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px 20px 0 0;
  padding: 12px 8px 8px 8px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tabItem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  position: relative;
}

.tabItem:hover {
  transform: translateY(-2px);
}

.tabItem.active {
  transform: translateY(-4px);
}

.iconContainer {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.tabItem.active .iconContainer {
  transform: scale(1.2);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
}

.tabText {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
}

.tabItem.active .tabText {
  color: #42d16a;
  font-weight: 600;
}

/* 特殊样式：中间的AI图标 */
.tabItem:nth-child(3) .iconContainer {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ff6b9d, #42d16a, #4fc3f7, #ffeb3b);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 4px 15px rgba(66, 209, 106, 0.3);
}

.tabItem:nth-child(3).active .iconContainer {
  transform: scale(1.3);
  box-shadow: 0 6px 20px rgba(66, 209, 106, 0.5);
}

.tabItem:nth-child(3) .iconContainer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  z-index: 1;
}

.tabItem:nth-child(3) .iconContainer::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #ff6b9d, #42d16a, #4fc3f7, #ffeb3b);
  border-radius: 50%;
  z-index: 2;
}

/* 其他图标的默认样式 */
.tabItem:not(:nth-child(3)) .iconContainer {
  color: #999;
}

.tabItem:not(:nth-child(3)).active .iconContainer {
  color: #42d16a;
}

/* 响应式设计 */
@media (max-width: 375px) {
  .tabbar {
    padding: 10px 4px 6px 4px;
  }
  
  .tabText {
    font-size: 11px;
  }
  
  .iconContainer {
    width: 28px;
    height: 28px;
  }
  
  .tabItem:nth-child(3) .iconContainer {
    width: 36px;
    height: 36px;
  }
}
